# -*- coding: utf-8 -*-
from django.db import models

class Estado(models.Model):
    
    uf = models.CharField('UF', max_length=2)
    
    def save(self,*args,**kwargs):
        self.uf = self.uf.upper()
        super(Estado,self).save(*args, **kwargs)
            
    def __unicode__(self):
        return self.uf
    
    class Meta():
        app_label = 'intercampi'